import { $t } from "@/plugins/i18n";

const Layout = () => import("@/layout/index.vue");

export default {
  path: "/system",
  name: "System",
  component: Layout,
  redirect: "/system/menu",
  meta: {
    icon: "ep:setting",
    title: "系统管理",
    rank: 9
  },
  children: [
    {
      path: "/system/menu",
      name: "SystemMenu",
      component: () => import("@/views/system/menu/index.vue"),
      meta: {
        icon: "ep:data-analysis",
        title: "菜单管理",
        showParent: true
      }
    },
    // {
    //   path: "/system/log",
    //   name: "SystemLog",
    //   component: () => import("@/views/system/log/index.vue"),
    //   meta: {
    //     icon: "ep:document",
    //     title: "系统日志",
    //     showParent: true
    //   }
    // },
    // {
    //   path: "/system/config",
    //   name: "SystemConfig",
    //   component: () => import("@/views/system/config/index.vue"),
    //   meta: {
    //     icon: "ep:setting",
    //     title: "系统配置",
    //     showParent: true
    //   }
    // }
  ]
} satisfies RouteConfigsTable;
